package com.discuss.community.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comment {
    @ApiModelProperty("评论的ID")
    private int id;
    @ApiModelProperty("评论用户的ID")
    private int userId;
    @ApiModelProperty("评论的实体类型")
    private int entityType;
    @ApiModelProperty("评论的ID")
    private int entityId;
    @ApiModelProperty("被回复用户的ID")
    private int targetId;
    @ApiModelProperty("评论内容")
    private String content;
    @ApiModelProperty("0-正常,1-删除")
    private int status;
    @ApiModelProperty("创建时间")
    private Date createTime;

}
